Optimal. Leaf size=36 \[ \frac{\left (a+b x^3\right ) \sqrt{a^2+2 a b x^3+b^2 x^6}}{6 b} \]
[Out]
________________________________________________________________________________________
Rubi [A] time = 0.0275715, antiderivative size = 36, normalized size of antiderivative = 1., number of steps used = 2, number of rules used = 2, integrand size = 26, \(\frac{\text{number of rules}}{\text{integrand size}}\) = 0.077, Rules used = {1352, 609} \[ \frac{\left (a+b x^3\right ) \sqrt{a^2+2 a b x^3+b^2 x^6}}{6 b} \]
Antiderivative was successfully verified.
[In]
[Out]
Rule 1352
Rule 609
Rubi steps
\begin{align*} \int x^2 \sqrt{a^2+2 a b x^3+b^2 x^6} \, dx &=\frac{1}{3} \operatorname{Subst}\left (\int \sqrt{a^2+2 a b x+b^2 x^2} \, dx,x,x^3\right )\\ &=\frac{\left (a+b x^3\right ) \sqrt{a^2+2 a b x^3+b^2 x^6}}{6 b}\\ \end{align*}
Mathematica [A] time = 0.009384, size = 38, normalized size = 1.06 \[ \frac{\sqrt{\left (a+b x^3\right )^2} \left (2 a x^3+b x^6\right )}{6 \left (a+b x^3\right )} \]
Antiderivative was successfully verified.
[In]
[Out]
________________________________________________________________________________________
Maple [A] time = 0.003, size = 35, normalized size = 1. \begin{align*}{\frac{{x}^{3} \left ( b{x}^{3}+2\,a \right ) }{6\,b{x}^{3}+6\,a}\sqrt{ \left ( b{x}^{3}+a \right ) ^{2}}} \end{align*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Maxima [F(-2)] time = 0., size = 0, normalized size = 0. \begin{align*} \text{Exception raised: ValueError} \end{align*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Fricas [A] time = 1.67638, size = 31, normalized size = 0.86 \begin{align*} \frac{1}{6} \, b x^{6} + \frac{1}{3} \, a x^{3} \end{align*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Sympy [A] time = 0.099698, size = 12, normalized size = 0.33 \begin{align*} \frac{a x^{3}}{3} + \frac{b x^{6}}{6} \end{align*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Giac [A] time = 1.11975, size = 30, normalized size = 0.83 \begin{align*} \frac{1}{6} \,{\left (b x^{6} + 2 \, a x^{3}\right )} \mathrm{sgn}\left (b x^{3} + a\right ) \end{align*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]